<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>新标签页</title>
    <meta name=”viewport” content="width=device-width, initial-scale=1"/>
    <link rel="stylesheet" href="static/css/newtab.min.css">
    <script src="static/js/jquery-3.4.0.min.js"></script>
    <script src="static/js/sortable.min.js"></script>
</head>
<body>
<div class="app">
    <div class="s_wrap_setting">
        <div class="s_setting_header">
            <i class="iconfont icon-setting" title="页面设置"></i>
        </div>
    </div>
    <div class="s_wrap">
        <div class="s_search base_center">
            <div id="search-logo" class="search-logo">
                <img src="static/images/baidu_logo.png" alt="百度搜索">
            </div>
            <form id="search-form" class="s_search_main" action="https://www.baidu.com/s?ie=utf-8">
                <div id="search-area" class="line-controls">
                    <input id="search-input" type="text" placeholder="" autocomplete="off" name="wd">
                </div>
                <button id="submit" class="iconfont">百度一下</button>
                <div id="search-suggestion" hidden="hidden"></div>
            </form>
        </div>
    </div>
    <div class="s_search_wrap">
        <div id="s_main" class="main clearfix c-wrapper c-wrapper-l">
            <div id="s_ctner_contents" class="s_ctner_contents">
                <div id="s_content_1" class="s_content">
                    <div id="s_xmancard_news_new" class="s-xmancard-news_new s-xmancard s-news-split">
                        <div class="s-news-wrapper clearfix">
                            <div class="s-news-rank-wrapper s-news-special-rank-wrapper c-container-r">
                                <div class="s-rank-title s-opacity-border1-bottom">
                                    <div class="title-text c-font-medium c-color-t">搜索热榜</div>
                                    <!--<a class="hot-refresh c-font-normal c-color-gray2" lang="0" href="javascript:load_hotsug()"><i class="iconfont icon-refeach"></i>换一换</a>-->
                                </div>
                                <ul class="s-news-rank-content"></ul>
                            </div>
                            <div id="s_xmancard_mine_new" class="s-xmancard-nav_new s-xmancard">
                                <div class="nav-block-wrapper normal-patern">
                                    <div class="s-nav-wrapper">
                                        <div class="water-container">
                                            <div class="s-nav-area">
                                                <div id="news-info">
                                                    <c:forEach items="${list}" varStatus="i" var="item">
                                                        <div class="nav-item">
                                                            <a href="${item.href}" lang=""
                                                               title="${item.title}" class="nav-block c-color-gray"
                                                               target="_blank" data-click="LOG_LINK" data-pos="0">
																		<span class="c-img c-img-radius-large nav-img"><img
                                                                                height="64" width="64"
                                                                                src="static${item.imgPath}"></span>
                                                                <span class="nav-txt">${item.title}</span><span
                                                                    class="nav-img-mask"></span></a>
                                                        </div>
                                                    </c:forEach>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="s_layer">
        <div class="s_setting_main">
            <div class="s_setting_title">页面布局</div>
            <div class="s_setting_item" data-val="0" onClick="search_model_click()">
                <span class="s_text"><i class="iconfont icon-only_search"></i>纯净模式</span>
                <i class="iconfont icon-zhengque"></i>
            </div>
            <div class="s_setting_item" data-val="1" onClick="info_model_click()">
                <span class="s_text"><i class="iconfont icon-xinxi"></i>信息模式</span>
                <i class="iconfont icon-zhengque"></i>
            </div>
            <div class="s_setting_item">
                <a href="admin.jsp"><span class="s_text"><i class="iconfont icon-xinxi"></i>后台管理</span></a>
                <i class="iconfont icon-zhengque"></i>
            </div>
        </div>
    </div>
</div>
<form action="getBookmark?method=picGetBookmark" method="post" name="form1"></form>
<form action="home?method=userList" method="post" name="userForm"></form>
<script src="static/js/index.min.js"></script>
<div style="display: none" id="count" title="1${count}">
</div>
<script language=javascript>
    let count = document.getElementById("count").title
    if (count == '1') {
        setTimeout("document.form1.submit()", 100)
    }
    if (count == '12') {
        setTimeout("document.userForm.submit()", 100)
    }
</script>
</body>
</html>
